package com.hc.cosmetichospital.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * 操作科室
 * @author ASUS
 *
 */
public class Departments {
    private Integer deid;

    private Integer clid; //客户id 关联客户表

    private String detype; //类别

    private String dedurgname; //药品名称

    private Integer decount; //数量

    private String deunit; //单位

    private Double deprice; //价格

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date debegintime; //开始时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deendtime; //结束时间

    private String decure; //治疗部位

    private String deinstrument; //使用仪器

    private Integer dedoctor; //医生编号，关联医生表

    public Integer getDeid() {
        return deid;
    }

    public void setDeid(Integer deid) {
        this.deid = deid;
    }

    public Integer getClid() {
        return clid;
    }

    public void setClid(Integer clid) {
        this.clid = clid;
    }

    public String getDetype() {
        return detype;
    }

    public void setDetype(String detype) {
        this.detype = detype == null ? null : detype.trim();
    }

    public String getDedurgname() {
        return dedurgname;
    }

    public void setDedurgname(String dedurgname) {
        this.dedurgname = dedurgname == null ? null : dedurgname.trim();
    }

    public Integer getDecount() {
        return decount;
    }

    public void setDecount(Integer decount) {
        this.decount = decount;
    }

    public String getDeunit() {
        return deunit;
    }

    public void setDeunit(String deunit) {
        this.deunit = deunit == null ? null : deunit.trim();
    }

    public Double getDeprice() {
        return deprice;
    }

    public void setDeprice(Double deprice) {
        this.deprice = deprice;
    }

    public Date getDebegintime() {
        return debegintime;
    }

    public void setDebegintime(Date debegintime) {
        this.debegintime = debegintime;
    }

    public Date getDeendtime() {
        return deendtime;
    }

    public void setDeendtime(Date deendtime) {
        this.deendtime = deendtime;
    }

    public String getDecure() {
        return decure;
    }

    public void setDecure(String decure) {
        this.decure = decure == null ? null : decure.trim();
    }

    public String getDeinstrument() {
        return deinstrument;
    }

    public void setDeinstrument(String deinstrument) {
        this.deinstrument = deinstrument == null ? null : deinstrument.trim();
    }

    public Integer getDedoctor() {
        return dedoctor;
    }

    public void setDedoctor(Integer dedoctor) {
        this.dedoctor = dedoctor;
    }
}